package com.banana.springcloud.dao;

import com.banana.springcloud.entity.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author layman
 * @description: 支付dao
 * @date 2020/12/30
 */
@Mapper
public interface PaymentDao {
    /**
     　　* @description: 新增
     　　* @author layman
     　　* @date 2021/12/30
     */
    int create(Payment payment);
    /**
     　　* @description: 根据id获取订单
     　　* @author layman
     　　* @date 2021/12/30
     */
    Payment getPaymentById(@Param("id")Long id);

}
